Interface StrategyEnabledInterface

Summary

Fully Qualified Name: Laminas\Hydrator\Strategy\StrategyEnabledInterface

Description

Methods

Name Description Defined By
addStrategy() Adds the given strategy under the given name. StrategyEnabledInterface
getStrategy() Gets the strategy with the given name. StrategyEnabledInterface
hasStrategy() Checks if the strategy with the given name exists. StrategyEnabledInterface
removeStrategy() Removes the strategy with the given name. StrategyEnabledInterface

Method Details

addStrategy()

Adds the given strategy under the given name.

Parameter Name Type Description
$name
$strategy

Returns:

getStrategy()

Gets the strategy with the given name.

Parameter Name Type Description
$name

Returns:

hasStrategy()

Checks if the strategy with the given name exists.

Parameter Name Type Description
$name

Returns:

removeStrategy()

Removes the strategy with the given name.

Parameter Name Type Description
$name

Returns:

Top